<template>
  <router-view v-slot="{ Component }">
    <keep-alive>
      <component :is="Component" />
    </keep-alive>
  </router-view>
</template>
<script setup lang="ts">
import { useUserStore } from './stores/user';

const userStore = useUserStore();
userStore.loadState();
</script>

<style lang="scss" scoped></style>
